Microsoft DirectX 8.1 (C++)

IConfigAsfWriter::GetCurrentProfileId

The GetCurrentProfileId method retrieves the current ASF profile ID. (For Windows Media Format 4.0 profiles only.)

Syntax

HRESULT GetCurrentProfileId(
  DWORD *pdwProfileId
);

Parameters

pdwProfileId

[out] Pointer to a variable of type DWORD that receives the current profile ID.

Return Values

Returns S_OK if successful, or an HRESULT error code otherwise.

Remarks

This method is now obsolete because it assumes version 4.0 Windows Media Format SDK profiles. Use GetCurrentProfile or GetCurrentProfileGuid instead to correctly identify a profile for version 4.0, 7.0 and later.

See Also